home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmRemoveProtocolCallback.z / XmRemoveProtocolCallback
Encoding:
Text File  |  2003-11-18  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k - A VendorShell function that
  10.       removes a callback from the internal list
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.       #include <Xm/Protocols.h>
  15.  
  16.       void XmRemoveProtocolCallback    (sssshhhheeeellllllll,,,,    pppprrrrooooppppeeeerrrrttttyyyy,,,, pppprrrroooottttooooccccoooollll,,,, ccccaaaallllllllbbbbaaaacccckkkk,,,, cccclllloooossssuuuurrrreeee)
  17.            _W_i_d_g_e_t       sssshhhheeeellllllll;
  18.            _A_t_o_m       pppprrrrooooppppeeeerrrrttttyyyy;
  19.            _A_t_o_m       pppprrrroooottttooooccccoooollll;
  20.            _X_t_C_a_l_l_b_a_c_k_P_r_o_cccccaaaallllllllbbbbaaaacccckkkk;
  21.            _X_t_P_o_i_n_t_e_r   cccclllloooossssuuuurrrreeee;
  22.  
  23.       _v_o_i_d _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollll,,,, ccccaaaallllllllbbbbaaaacccckkkk,,,, cccclllloooossssuuuurrrreeee)
  24.            _W_i_d_g_e_t       sssshhhheeeellllllll;
  25.            _A_t_o_m       pppprrrroooottttooooccccoooollll;
  26.            _X_t_C_a_l_l_b_a_c_k_P_r_o_cccccaaaallllllllbbbbaaaacccckkkk;
  27.            _X_t_P_o_i_n_t_e_r   cccclllloooossssuuuurrrreeee;
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.       _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k removes a callback from the
  31.       internal list.
  32.  
  33.       _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k is    a convenience interface.  It
  34.       calls    _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k with the property value set
  35.       to the atom returned by interning _W_M__P_R_O_T_O_C_O_L_S.
  36.  
  37.       sssshhhheeeellllllll
  38.            Specifies the widget with which the protocol property
  39.            is associated
  40.  
  41.       pppprrrrooooppppeeeerrrrttttyyyy
  42.            Specifies the protocol property
  43.  
  44.       pppprrrroooottttooooccccoooollll
  45.            Specifies the protocol atom (or an int cast to Atom)
  46.  
  47.       ccccaaaallllllllbbbbaaaacccckkkk
  48.            Specifies the procedure to call when a protocol message
  49.            is received
  50.  
  51.       cccclllloooossssuuuurrrreeee
  52.            Specifies the client data to be passed to the callback
  53.            when it is invoked
  54.  
  55.       For a    complete definition of VendorShell and its associated
  56.       resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
  57.  
  58.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  59.       _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_I_n_t_e_r_n_A_t_o_m(_3_X), and
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k(_3_X).
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.